package com.gzhryc.shared_device.oem.code.order.event;

import com.gzhryc.common.event.IDelayEvent;

import java.util.Date;

/**
 * 订单状态变更事件
 */
public class OrderCancelEvent implements IDelayEvent {

    private static final long serialVersionUID = 1L;
    
	private String businessType;
    private String tradeNo;
    private Date createDate;
    private Long refundMoney;
    private Date cancelDate;

    public OrderCancelEvent(){}

    public OrderCancelEvent(String businessType,String tradeNo,Date createDate,Long refundMoney,Date cancelDate){
        this.businessType = businessType;
        this.tradeNo = tradeNo;
        this.createDate = createDate;
        this.refundMoney = refundMoney;
        this.cancelDate = cancelDate;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public Long getRefundMoney() {
        return refundMoney;
    }

    public void setRefundMoney(Long refundMoney) {
        this.refundMoney = refundMoney;
    }

    public Date getCancelDate() {
        return cancelDate;
    }

    public void setCancelDate(Date cancelDate) {
        this.cancelDate = cancelDate;
    }
}
